package com.wasion.pwportable.protocol.analyzer.indicator;

import com.wasion.pwportable.protocol.analyzer.AbstractAnalyzer;

/**
 * 
 * @ClassName: Address_RD_Analyzer
 * @Description: 1B/1A、1D/1E. 设备地址信息的修改
 * @author 高意
 * @date 2014-9-10 下午4:40:41
 * 
 */
public class Address_RD_Analyzer extends AbstractAnalyzer {

	@Override
	public void dataAnalysis(String ackBS) {

		String data = ackBS.substring(DATABITSTART, DATABITSTART + 6);
		String devIdD = data.substring(4, 6) + data.substring(2, 4)
				+ data.substring(0, 2);
		result.setiAddress(devIdD);
	}
}
